﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace Deixei.Domain
{
    public class Role
    {
        [Key]
        public virtual int RoleId
        {
            get;
            set;
        }

        [Required]
        public virtual string RoleName
        {
            get;
            set;
        }

        public virtual string Description
        {
            get;
            set;
        }

        public virtual ICollection<User> Users
        {
            get;
            set;
        }
    }

}
